home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / libs / unixlib.lha / unix / src / error_msg.c < prev    next >
C/C++ Source or Header  |  1996-11-09  |  3KB  |  91 lines

  1.  
  2. #include "amiga.h"
  3.  
  4. /* Gross hack because EOSERR is -1. */
  5. char *sys_amiga_error = "Amiga specific error";
  6. char *sys_errlist[] =
  7. {
  8.     "Undefined error: 0",
  9.     "Operation not permitted",
  10.     "No such file or directory",
  11.     "No such process",
  12.     "Interrupted system call",
  13.     "Input/output error",
  14.     "Device not configured",
  15.     "Argument list too long",
  16.     "Exec format error",
  17.     "Bad file descriptor",
  18.     "No child processes",
  19.     "Resource deadlock avoided",
  20.     "Cannot allocate memory",
  21.     "Permission denied",
  22.     "Bad address",
  23.     "Block device required",
  24.     "Device busy",
  25.     "Object exists",
  26.     "Cross-device link",
  27.     "Operation not supported by device",
  28.     "Not a directory",
  29.     "Is a directory",
  30.     "Invalid argument",
  31.     "Too many open files in system",
  32.     "Too many open files",
  33.     "Inappropriate ioctl for device",
  34.     "Text file busy",
  35.     "File too large",
  36.     "No space left on device",
  37.     "Illegal seek",
  38.     "Read-only file system",
  39.     "Too many links",
  40.     "Broken pipe",
  41.     "Numerical argument out of domain",
  42.     "Result too large",
  43.     "Resource temporarily unavailable",
  44.     "Operation now in progress",
  45.     "Operation already in progress",
  46.     "Socket operation on non-socket",
  47.     "Destination address required",
  48.     "Message too long",
  49.     "Protocol wrong type for socket",
  50.     "Protocol not available",
  51.     "Protocol not supported",
  52.     "Socket type not supported",
  53.     "Operation not supported",
  54.     "Protocol family not supported",
  55.     "Address family not supported by protocol family",
  56.     "Address already in use",
  57.     "Can't assign requested address",
  58.     "Network is down",
  59.     "Network is unreachable",
  60.     "Network dropped connection on reset",
  61.     "Software caused connection abort",
  62.     "Connection reset by peer",
  63.     "No buffer space available",
  64.     "Socket is already connected",
  65.     "Socket is not connected",
  66.     "Can't send after socket shutdown",
  67.     "Too many references: can't splice",
  68.     "Connection timed out",
  69.     "Connection refused",
  70.     "Too many levels of symbolic links",
  71.     "File name too long",
  72.     "Host is down",
  73.     "No route to host",
  74.     "Directory not empty",
  75.     "Too many processes",
  76.     "Too many users",
  77.     "Disc quota exceeded",
  78.     "Stale NFS file handle",
  79.     "Too many levels of remote in path",
  80.     "RPC struct is bad",
  81.     "RPC version wrong",
  82.     "RPC prog. not avail",
  83.     "Program version wrong",
  84.     "Bad procedure for program",
  85.     "No locks available",
  86.     "Function not implemented",
  87.     "Inappropriate file type or format"
  88. };
  89.  
  90. int sys_nerr = sizeof(sys_errlist) / sizeof(char *);
  91.